<script src="script.js"></script>
<form action="" onsubmit="predict(this);return false;">
  x: <input type="text" name="x">
  y: <input type="text" name="y">
  <button type="submit">yuce</button>
</form>